package com.study.model.vo;

import java.util.UUID;

public class GenerateID {

	public String getSelfIdByUUId() {

		int hashCodeV = UUID.randomUUID().toString().hashCode();

		if (hashCodeV < 0) {// 有可能是负数

			hashCodeV = -hashCodeV;

		}

		String str = "abdefghijmnqrt";

		int random = (int) (Math.random() * 14);

		return str.charAt(random) + String.format("%08d", hashCodeV);

	}

}